let server = require('./core');
let config = {
  server: {
    protocol: 'http', // http | https, not support http2
    host: '0.0.0.0',
    port: 80,
    public: '../public',
  }
};
let s = server(config); //create a server
s.start(); // start